home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!marketgraph!rvg
- From: rvg@marketgraph.xs4all.nl (Ruud van Gaal)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Assembly Interlace problem!
- Message-ID: <102doax60.alamito@marketgraph.xs4all.nl>
- Date: Wed, 24 Jan 96 14:45:16 CET
- References: <3104F66D.74@gih.no>
- Reply-To: rvg@marketgraph.xs4all.nl
- X-Newsreader: Alamito Mail and News Manager (V2.0.4 for Waffle) registered to MARKETGRAPH VISUAL AUTOMATION
-
- In <3104F66D.74@gih.no> ARNLEIF MYDLAND <arn_mydl@gih.no> wrote:
-
- >I am trying to display a 1280*512*8 image using an assembler, but
- >I can't get the screen to do the 512 interlaced.
- >
- > I've dumped the original view and made my own copper and set the bpl
- >pointers, colors, mode to 8 bitplanes SHRES and the lace bit, and
- >the FMODE to 8 byte.
- > My screen goes 1280*256*8 and it starts flickering. So, I must have
- >missed something important here!
-
- First, the problem is that the 2nd field is never shown. You need 2
- copperlists, the 2nd differing in the 1st line in what starting line it shows
- of the planes. Didn't you notice something like this when you thought about
- the modulo's?
- You could let the copperlist poke it's own location to the 2nd cprlist at the
- end, and let the 2nd cprlist poke cop1lc or cop2lc to the 1st (or use a VTB
- server which pokes it for you; not recommended). Note however, that the
- system has a VTB server that pokes COP2LC for you if you set the lace bit in
- GfxBase->Modes (4). You will notice this, perhaps, when setting your shell
- display to lace, and running your code.
- You could then use GfxBase->LOFlist and GfxBase->SHFlist to let the system
- handle your copperlists for you. LOFlist=1st field, SHFlist=2nd. These are
- cop2lc locations; cop1lc is only poked now & then by GfxBase, and you can set
- it yourself; custom.cop1lc=<mycprlist1>. Please Forbid() or get an
- eventhandler which dumps all events (return 0 or something).
-
- Note that this information is nice for your current Amiga, but it will
- probably fail on the new generation (read: oncoming AT machines). It's
- hardware poking, but I'm using it with 50% of my programs, stocked away in a
- module, because I can do better overscan with my own copperlists (at the top
- of the screen; views begin too low for television true overscan).
- Not recommended.
-
- --
- Ruud van Gaal
- MarketGraph Visual Automation
- E-Mail : rvg@marketgraph.xs4all.nl
- DoomShell 4.5 homepage: http://www.xs4all.nl/~jwkorver
- "...Works fascinates me. I could sit and watch it for hours..."
-
-